//
//  GameViewController.h
//  Politics
//
//  Created by Hai Nguyen on 7/9/11.
//  Copyright 2011 VinaSource. All rights reserved.
//

#import <UIKit/UIKit.h>

@class QuestionModel;

@interface GameViewController : UIViewController {
	IBOutlet UILabel *questionSubjectLabel;
	IBOutlet UIButton *aAnwserButton;
	IBOutlet UIButton *bAnwserButton;
	IBOutlet UIButton *cAnwserButton;
	IBOutlet UIButton *dAnwserButton;
	IBOutlet UILabel *optionALabel;
	IBOutlet UILabel *optionBLabel;
	IBOutlet UILabel *optionCLabel;
	IBOutlet UILabel *optionDLabel;
	BOOL isChecked;
	int keyCorrect;
	int keySelected;
	NSTimer *playTimer;
	IBOutlet UIProgressView *timeProgressView;
	IBOutlet UILabel *timeLabel;
	int expiredTime;
}
- (void) setupWithQuestion:(QuestionModel*)question;
- (IBAction) nextButtonPressed;
- (IBAction) optionButtonPressed:(id)sender;
- (void) updateProgress;
@end
